package com.ruoyi.vedio_room.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 直播间管理对象 live_room
 * 
 * @author 申明义
 * @date 2024-10-28
 */
public class LiveRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 直播间id */
    @Excel(name = "直播间id")
    private Long id;

    /** 直播名称 */
    @Excel(name = "直播名称")
    private String name;

    /** 直播描述 */
    @Excel(name = "直播描述")
    private String description;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 直播间状态 */
    @Excel(name = "直播间状态")
    private Long status;

    /** 主持人 */
    @Excel(name = "主持人")
    private String host;

    /** 所属栏目 */
    private Long categoryId;

    /** 标签 */
    private String tags;

    /** 封面图 */
    @Excel(name = "封面图")
    private String coverImage;

    /** 聊天室Id */
    private Long chatRoomId;

    /** logo */
    private String logo;

    /** 功能项 */
    private String features;

    /**  */
    private Integer syncContent;

    /** 视频直播源，无：默认没有视频直播；视频流：填写视频直播流ID，关联视频直播；点播：视频直播结束后，填写点播文件ID，可以回看点播文件 */
    private String videoSource;

    /** $column.columnComment */
    private String createId;

    /** $column.columnComment */
    private String updateId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setHost(String host) 
    {
        this.host = host;
    }

    public String getHost() 
    {
        return host;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }
    public void setCoverImage(String coverImage) 
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage() 
    {
        return coverImage;
    }
    public void setChatRoomId(Long chatRoomId) 
    {
        this.chatRoomId = chatRoomId;
    }

    public Long getChatRoomId() 
    {
        return chatRoomId;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setFeatures(String features) 
    {
        this.features = features;
    }

    public String getFeatures() 
    {
        return features;
    }
    public void setSyncContent(Integer syncContent) 
    {
        this.syncContent = syncContent;
    }

    public Integer getSyncContent() 
    {
        return syncContent;
    }
    public void setVideoSource(String videoSource) 
    {
        this.videoSource = videoSource;
    }

    public String getVideoSource() 
    {
        return videoSource;
    }
    public void setCreateId(String createId) 
    {
        this.createId = createId;
    }

    public String getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(String updateId) 
    {
        this.updateId = updateId;
    }

    public String getUpdateId() 
    {
        return updateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("status", getStatus())
            .append("host", getHost())
            .append("categoryId", getCategoryId())
            .append("tags", getTags())
            .append("coverImage", getCoverImage())
            .append("chatRoomId", getChatRoomId())
            .append("logo", getLogo())
            .append("features", getFeatures())
            .append("syncContent", getSyncContent())
            .append("videoSource", getVideoSource())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createId", getCreateId())
            .append("updateId", getUpdateId())
            .toString();
    }
}
